package com.winsdom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.winsdom.domain.vo.TopRoledVO;
import com.winsdom.dto.RoleManageDto;
import com.winsdom.entity.SysFatherPermission;

import javax.validation.constraints.NotBlank;
import java.util.List;

public interface SysFatherPremissionService extends IService<SysFatherPermission> {
    List<RoleManageDto> updateRole(RoleManageDto roleManageDto);

    String selectRoleName(Long roleId,@NotBlank(message = "角色名称不能为空") String roleName);

    Long selectRoleId(Long id);
    List<TopRoledVO> getListRole();
}
